package org.zgr;

import common.annotation.EnableBookFilter;
import common.annotation.EnableUserFilter;
import common.annotation.EnableInnerCommunication;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * @Author: 郑国荣
 * @Date: 2024-03-29-16:15
 * @Description:
 */
@SpringBootApplication(scanBasePackages = {"org.zgr"})
@EnableDiscoveryClient
@MapperScan("org.zgr.mapper")
@EnableBookFilter
@EnableInnerCommunication
public class BookServiceApplication {
    public static void main(String[] args) {
        SpringApplication.run(BookServiceApplication.class,args);
    }
}
